<form class="form-horizontal form-validate form-modal" method="post" action="{:url('checkPay')}">
    <div class="modal-dialog image-list">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="modal-title">充值管理</h4>
            </div>
            <div class="modal-body">
            		<div class="form-group">
                        <label class="col-sm-3 control-label">状态：</label>
                        <div class="col-sm-6 m-t-mc red">
                            {$row.status_name}
                        </div>
                    </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">充值类型：</label>
                    <div class="col-sm-6 m-t-mc">
                        {$typeList[$row['type']]}
                    </div>
                </div>
                <div class="form-group">
                        <label class="col-sm-3 control-label">充值日期：</label>
                        <div class="col-sm-6 m-t-mc">
                            {$row.add_time|dateTpl}
                        </div>
                    </div> 
                     <div class="form-group">
                        <label class="col-sm-3 control-label">充值金额：</label>
                        <div class="col-sm-6 m-t-mc">
                            ￥{$row.order_amount}
                        </div>
                    </div> 
                    
                    <div class="form-group">
                        <label class="col-sm-3 control-label">支付方式：</label>
                        <div class="col-sm-8 m-t-mc">
                           {$payList[$row['pay_code']]['name']}
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">支付凭证：</label>
                        <div class="col-sm-9">
                            {volist name="$row.imgs" id="img" }
                            	<img src="{$img}" style=" width:100px;" />
                            {/volist}
                        </div>
                    </div>
                     <div class="form-group">
                        <label class="col-sm-3 control-label">会员名称：</label>
                        <div class="col-sm-6 m-t-mc">
                            {$row.user_id}-{$row.user_id|userInfo=true,'real_name'}
                        </div>
                    </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">操作备注：</label>
                    <div class="col-sm-8 m-t-mc">
                       <textarea name="check_remark" style="width: 100%">{$row.check_remark}</textarea>
                    </div>
                </div>

                    {gt name="row.admin_id" value="0"}
                    <div class="form-group">
                        <label class="col-sm-3 control-label">操作管理员：</label>
                        <div class="col-sm-6 m-t-mc">
                           {$row.admin_id} - {$row.admin_id|adminInfo}
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">操作时间：</label>
                        <div class="col-sm-6 m-t-mc">
                            {$row.check_time|dateTpl}
                        </div>
                    </div>
                    {/gt}
            </div>
            <div class="modal-footer">
                <input type="hidden" name="order_id" value="{$row.order_id|intval}"/>
                <input type="hidden" name="operating" id="operating" value=""/>                
                {eq name="row.status" value="0"}
                    <button type="button" class="btn btn-primary operatbtn" data-type='refuse'>审核失败</button>
                    <button type="button" class="btn btn-primary operatbtn" data-type='arrival'>已到帐</button>
                {/eq}
                <button type="submit" class="btn btn-primary postBtn hide" data-loading-text="保存中..." disabled>保存</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</form>
